package com.zoho.daliansheng.config;


import org.springframework.stereotype.Component;

// crm 模块路径
@Component
public class CRMPathConfig {

    String url = "https://www.zohoapis.com.cn/crm/v6/";
    String searchUrl = "/search?criteria=";

    // 产品
    private final String productModuleName = "Products";
    private final String productUrl = url + productModuleName;
    private final String productSearchUrl = url + productModuleName + searchUrl;

    // 客户
    private final String accountModuleName = "Accounts";
    private final String accountUrl = url + accountModuleName;
    private final String accountSearchUrl = url + accountModuleName + searchUrl;

    // 产品仓库
    private final String warehouseModuleName = "warehouse";
    private final String warehouseUrl = url + warehouseModuleName;
    private final String warehouseSearchUrl = url + warehouseModuleName + searchUrl;

    // 工厂产品转码
    private final String gongChangTransferModuleName = "CustomModule53";
    private final String gongChangTransferUrl = url + gongChangTransferModuleName;
    private final String gongChangTransferSearchUrl = url + gongChangTransferModuleName + searchUrl;

    // 销售出库单
    private final String saleOutModuleName = "CustomModule45";
    private final String saleOutUrl = url + saleOutModuleName;
    private final String saleOutSearchUrl = url + saleOutModuleName + searchUrl;

    // 销售发货单
    private final String dispatchModuleName = "CustomModule44";
    private final String dispatchUrl = url + dispatchModuleName;
    private final String dispatchSearchUrl = url + dispatchModuleName + searchUrl;

    // 销售发货单明细
    private final String dispatchDetailModuleName = "CustomModule51";
    private final String dispatchDetailUrl = url + dispatchDetailModuleName;
    private final String dispatchDetailSearchUrl = url + dispatchDetailModuleName + searchUrl;

    // 现存量
    private final String currentStockModuleName = "CustomModule16";
    private final String currentStockUrl = url + currentStockModuleName;
    private final String currentStockSearchUrl = url + currentStockModuleName + searchUrl;

    // 现存量入库日期
    private final String currentStockDateModuleName = "ProductsDate";
    private final String currentStockDateUrl = url + currentStockDateModuleName;
    private final String currentStockDateSearchUrl = url + currentStockDateModuleName + searchUrl;

    // 收款单
    private final String acceptListModuleName = "CustomModule48";
    private final String acceptListUrl = url + acceptListModuleName;
    private final String acceptListSearchUrl = url + acceptListModuleName + searchUrl;

    // 商业汇票
    private final String businessModuleName = "business";
    private final String businessUrl = url + businessModuleName;
    private final String businessSearchUrl = url + businessModuleName + searchUrl;

    // 最大版本号
    private final String maxVersionModuleName = "maxVersion";
    private final String maxVersionUrl = url + maxVersionModuleName;
    private final String maxVersionSearchUrl = url + maxVersionModuleName + searchUrl;

    // 一级行业
    private final String firstModuleName = "CustomModule2";
    private final String firstUrl = url + firstModuleName;
    private final String firstSearchUrl = url + firstModuleName + searchUrl;

    // 二级行业
    private final String secondModuleName = "CustomModule3";
    private final String secondUrl = url + secondModuleName;
    private final String secondSearchUrl = url + secondModuleName + searchUrl;

    // 地址库
    private final String addressModuleName = "CustomModule4";
    private final String addressUrl = url + addressModuleName;
    private final String addressSearchUrl = url + addressModuleName + searchUrl;

    // 联系人
    private final String contactModuleName = "Contacts";
    private final String contactUrl = url + contactModuleName;
    private final String contactSearchUrl = url + contactModuleName + searchUrl;

    // 销售订单
    private final String getSaleOrderModuleName = "Sales_Orders";
    private final String getSaleOrderUrl = url + getSaleOrderModuleName;
    private final String getSaleOrderSearchUrl = url + getSaleOrderModuleName + searchUrl;

    // 助理信息管理
    private final String zhuLiModuleName = "CustomModule23";
    private final String zhuLiUrl = url + zhuLiModuleName;
    private final String zhuLiSearchUrl = url + zhuLiModuleName + searchUrl;

    // 客户管理维度
    private final String customerAuthModuleName = "CustomModule57";
    private final String customerAuthUrl = url + customerAuthModuleName;
    private final String customerAuthSearchUrl = url + customerAuthModuleName + searchUrl;

    // 销售开票
    private final String getGetSaleTicketModuleName = "CustomModule47";
    private final String getGetSaleTicketUrl = url + getGetSaleTicketModuleName;
    private final String getGetSaleTicketSearchUrl = url + getGetSaleTicketModuleName + searchUrl;

    public String getAccountModuleName() {
        return accountModuleName;
    }

    public String getAccountUrl() {
        return accountUrl;
    }

    public String getAccountSearchUrl() {
        return accountSearchUrl;
    }

    public String getProductModuleName() {
        return productModuleName;
    }

    public String getProductUrl() {
        return productUrl;
    }

    public String getProductSearchUrl() {
        return productSearchUrl;
    }

    public String getWarehouseModuleName() {
        return warehouseModuleName;
    }

    public String getWarehouseUrl() {
        return warehouseUrl;
    }

    public String getWarehouseSearchUrl() {
        return warehouseSearchUrl;
    }

    public String getGongChangTransferModuleName() {
        return gongChangTransferModuleName;
    }

    public String getGongChangTransferUrl() {
        return gongChangTransferUrl;
    }

    public String getGongChangTransferSearchUrl() {
        return gongChangTransferSearchUrl;
    }


    public String getSaleOutModuleName() {
        return saleOutModuleName;
    }

    public String getSaleOutUrl() {
        return saleOutUrl;
    }

    public String getSaleOutSearchUrl() {
        return saleOutSearchUrl;
    }

    public String getDispatchModuleName() {
        return dispatchModuleName;
    }

    public String getDispatchUrl() {
        return dispatchUrl;
    }

    public String getDispatchSearchUrl() {
        return dispatchSearchUrl;
    }

    public String getCurrentStockModuleName() {
        return currentStockModuleName;
    }

    public String getCurrentStockUrl() {
        return currentStockUrl;
    }

    public String getCurrentStockSearchUrl() {
        return currentStockSearchUrl;
    }

    public String getAcceptListModuleName() {
        return acceptListModuleName;
    }

    public String getAcceptListUrl() {
        return acceptListUrl;
    }

    public String getAcceptListSearchUrl() {
        return acceptListSearchUrl;
    }

    public String getMaxVersionModuleName() {
        return maxVersionModuleName;
    }

    public String getMaxVersionUrl() {
        return maxVersionUrl;
    }

    public String getMaxVersionSearchUrl() {
        return maxVersionSearchUrl;
    }

    public String getFirstModuleName() {
        return firstModuleName;
    }

    public String getFirstUrl() {
        return firstUrl;
    }

    public String getFirstSearchUrl() {
        return firstSearchUrl;
    }

    public String getSecondModuleName() {
        return secondModuleName;
    }

    public String getSecondUrl() {
        return secondUrl;
    }

    public String getSecondSearchUrl() {
        return secondSearchUrl;
    }

    public String getAddressModuleName() {
        return addressModuleName;
    }

    public String getAddressUrl() {
        return addressUrl;
    }

    public String getAddressSearchUrl() {
        return addressSearchUrl;
    }

    public String getContactModuleName() {
        return contactModuleName;
    }

    public String getContactUrl() {
        return contactUrl;
    }

    public String getContactSearchUrl() {
        return contactSearchUrl;
    }

    public String getGetSaleOrderModuleName() {
        return getSaleOrderModuleName;
    }

    public String getGetSaleOrderUrl() {
        return getSaleOrderUrl;
    }

    public String getGetSaleOrderSearchUrl() {
        return getSaleOrderSearchUrl;
    }

    public String getCurrentStockDateModuleName() {
        return currentStockDateModuleName;
    }

    public String getCurrentStockDateUrl() {
        return currentStockDateUrl;
    }

    public String getCurrentStockDateSearchUrl() {
        return currentStockDateSearchUrl;
    }

    public String getDispatchDetailModuleName() {
        return dispatchDetailModuleName;
    }

    public String getDispatchDetailUrl() {
        return dispatchDetailUrl;
    }

    public String getDispatchDetailSearchUrl() {
        return dispatchDetailSearchUrl;
    }

    public String getZhuLiModuleName() {
        return zhuLiModuleName;
    }

    public String getZhuLiUrl() {
        return zhuLiUrl;
    }

    public String getZhuLiSearchUrl() {
        return zhuLiSearchUrl;
    }

    public String getCustomerAuthModuleName() {
        return customerAuthModuleName;
    }

    public String getCustomerAuthUrl() {
        return customerAuthUrl;
    }

    public String getCustomerAuthSearchUrl() {
        return customerAuthSearchUrl;
    }

    public String getGetGetSaleTicketModuleName() {
        return getGetSaleTicketModuleName;
    }

    public String getGetGetSaleTicketUrl() {
        return getGetSaleTicketUrl;
    }

    public String getGetGetSaleTicketSearchUrl() {
        return getGetSaleTicketSearchUrl;
    }

    public String getBusinessModuleName() {
        return businessModuleName;
    }

    public String getBusinessUrl() {
        return businessUrl;
    }

    public String getBusinessSearchUrl() {
        return businessSearchUrl;
    }
}
